xsm/flask: Fix sidtab locking bug
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Aug 2009 16:08:12 +0000 (17:08 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Aug 2009 16:08:12 +0000 (17:08 +0100)
commit97a99fda1956f53da7bf66653426278e81f849f6
tree5223b0243b0a6a27e20f095be9d468d748d87135
parent9823a3d98ccd5a70249b03fb5a9a0e503761b33d
xsm/flask:  Fix sidtab locking bug

We do not need to use the _irqsave/irqrestore forms of spin locking
within the sidtab in Xen's XSM Flask module, and doing so triggers a
BUG_ON() within check_lock() when we subsequently call xmalloc().
This was preventing Xen from booting with XSM/Flask enabled if built
with debug=y. It appears that this broke upon the changes to xmalloc
in changeset 18379:14a9a1629590.

Signed-off-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: George S. Coker, II <gscoker@alpha.ncsc.mil>
xen/xsm/flask/ss/sidtab.c